<?php

require_once("./curlflickr.php");//chage to your directory
session_start();//we will use session , so be sure you have this rights
$fk=new curlflickr;
$fk->api_key="976a3ad1d113dbdf455a5c0769ad4b05";//set your api
$fk->secret="296fce0850161b5b";//set your secret code
$fk->auth("write",TRUE);//you can just use $fk->auth(); is fine
$fk=NULL;

?>